package cn.jly.boot.mp.cron;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @PackageName cn.jly.boot.mp.cron
 * @ClassName QuartzCronSchedulerJob
 * @Description 定义cron job1
 * @Author 姬岚洋
 * @Date 2021/1/6 上午 9:31
 */
public class QuartzCronSchedulerJob implements Job {

    private static final Logger LOGGER = LoggerFactory.getLogger(QuartzCronSchedulerJob.class);

    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        LOGGER.info("cronJob is running .. {}", "QuartzCronSchedulerJob.execute");
    }
}
